[gd_scene load_steps=6 format=2]

[ext_resource path="res://UIScenes/Scripts/MapViewer.gd" type="Script" id=1]
[ext_resource path="res://Assets/theme.tres" type="Theme" id=2]
[ext_resource path="res://UIScenes/GoBackTextureButton.tscn" type="PackedScene" id=3]
[ext_resource path="res://UIScenes/Scripts/MapList.gd" type="Script" id=4]

[sub_resource type="ButtonGroup" id=1]

[node name="MapViewer" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 2 )
script = ExtResource( 1 )

[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0

[node name="ButtonBarHbox" type="HBoxContainer" parent="VBoxContainer"]
margin_right = 1280.0
margin_bottom = 22.0

[node name="GoBackTextureButton" parent="VBoxContainer/ButtonBarHbox" instance=ExtResource( 3 )]
margin_right = 57.0
margin_bottom = 22.0
group = SubResource( 1 )
stretch_mode = 4

[node name="TextureRect" type="TextureRect" parent="VBoxContainer/ButtonBarHbox"]
margin_left = 61.0
margin_right = 1218.0
margin_bottom = 22.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 20.0

[node name="PlayButton" type="Button" parent="VBoxContainer/ButtonBarHbox"]
margin_left = 1222.0
margin_right = 1280.0
margin_bottom = 22.0
size_flags_horizontal = 3
size_flags_vertical = 3
disabled = true
text = "Play"

[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
margin_top = 26.0
margin_right = 1280.0
margin_bottom = 720.0
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="MapList" type="ItemList" parent="VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
margin_right = 271.0
margin_bottom = 694.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 0.27
script = ExtResource( 4 )

[node name="ViewportContainer" type="ViewportContainer" parent="VBoxContainer/HBoxContainer"]
margin_left = 275.0
margin_right = 1280.0
margin_bottom = 694.0
size_flags_horizontal = 3
size_flags_vertical = 3
stretch = true

[node name="Viewport" type="Viewport" parent="VBoxContainer/HBoxContainer/ViewportContainer"]
size = Vector2( 1005, 694 )
handle_input_locally = false
render_target_update_mode = 3

[connection signal="pressed" from="VBoxContainer/ButtonBarHbox/PlayButton" to="." method="_on_PlayButton_pressed"]
[connection signal="item_selected" from="VBoxContainer/HBoxContainer/MapList" to="VBoxContainer/HBoxContainer/MapList" method="_on_MapList_item_selected"]
[connection signal="select_map" from="VBoxContainer/HBoxContainer/MapList" to="." method="_on_MapList_select_map"]
